code with naval pattern part 7